/*
 * @Author: Njpyy
 * @Date: 2024-03-12 09:20:35
 * @LastEditors: Njpyy
 * @LastEditTime: 2024-03-17 15:17:29
 * @FilePath: /big-event/src/main.js
 * @Description: 
 */
import { createApp } from 'vue'
import App from './App.vue'
import "./assets/main.scss"
import ElementPlus from "element-plus"
import "element-plus/dist/index.css"
import router from './router'
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin'
import locale from 'element-plus/dist/locale/zh-cn.js'


const app = createApp(App)
const pinia = createPinia()
const persist = createPersistedState()
pinia.use(persist)

app.use(ElementPlus,{locale})
app.use(router)
app.use(pinia)

app.mount('#app')
